package cn.liwq.demo.java.raw.annotation.entry;

import cn.liwq.demo.java.raw.annotation.anno.Note;

/**
 * <p>Project: demo-common </p>
 * 
 * <p>Function:  </p>
 * 
 * <p>Description:  </p>
 * 
 * <p>Copyright: Copyright(c) 2018 Ucarinc </p>
 * 
 * <p>Company: Ucarinc </p>
 * 
 * @author weiqiang.li@ucarinc.com
 * 
 * @date 2018-08-16 10:27:11
 * 
 * @version 1.0
 */

@Note(value="note class", tags = {"note", "foo"})
public class NoteFoo {

    @Note(value = "note filed", tags = {"private", "note-name"})
    private String noteName;

    @Note(value = "note method", tags = {"public", "takeNote", "output"})
    void takeNote(String note) {
        System.out.println("note : " + note);
    }

    private void print(@Note(value = "note param", tags = {"private", "print"}) String str) {
        System.out.println(str);
    }
}
